package bdz.projects.atwww.electrolux.views.digital.support
{
	import flash.display.MovieClip;
	import gs.*;
	import gs.easing.*;
	
	public class ELDigitalIcon extends MovieClip {
		
		public function ELDigitalIcon(){		
			super();
		}
		public function highlight():void{
			TweenMax.killTweensOf(this);
			TweenMax.to(this, 1, {glowFilter:{blurX:8, blurY:8, color:0xCCE340, quality:3, alpha:.3, strength:1}, tint:0xCCE340, ease:Strong.easeOut})
		}
		public function revert():void{
			TweenMax.killTweensOf(this);
			TweenMax.to(this, 2.5, {glowFilter:{blurX:0, blurY:0, color:0xCCE340, quality:3, alpha:0, strength:0}, removeTint:true, ease:Strong.easeOut})
		}
		
	}
}